.class Les/ja$e;
.super Landroid/os/Handler;
.source "VideoProcessor.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/ja;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "e"
.end annotation


# instance fields
.field final synthetic a:Les/ja;


# direct methods
.method constructor <init>(Les/ja;Landroid/os/Looper;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/ja$e;->a:Les/ja;

    .line 2
    invoke-direct {p0, p2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3

    .line 1
    iget v0, p1, Landroid/os/Message;->what:I

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eqz v0, :cond_6

    if-eq v0, v2, :cond_2

    const/4 p1, 0x2

    if-eq v0, p1, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    iget-object p1, p0, Les/ja$e;->a:Les/ja;

    invoke-static {p1}, Les/ja;->b(Les/ja;)Z

    move-result p1

    if-eqz p1, :cond_1

    return-void

    .line 3
    :cond_1
    iget-object p1, p0, Les/ja$e;->a:Les/ja;

    invoke-static {p1}, Les/ja;->j(Les/ja;)V

    .line 4
    iget-object v0, p0, Les/ja$e;->a:Les/ja;

    monitor-enter v0

    .line 5
    :try_start_0
    iget-object p1, p0, Les/ja$e;->a:Les/ja;

    invoke-static {p1, v2}, Les/ja;->a(Les/ja;Z)Z

    .line 6
    iget-object p1, p0, Les/ja$e;->a:Les/ja;

    invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V

    .line 7
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1

    .line 8
    :cond_2
    iget v0, p1, Landroid/os/Message;->arg1:I

    if-ne v0, v2, :cond_3

    const/4 v1, 0x1

    :cond_3
    if-nez v1, :cond_4

    .line 9
    iget-object v0, p0, Les/ja$e;->a:Les/ja;

    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast p1, Lcom/esfile/screen/recorder/media/util/l;

    invoke-static {v0, p1}, Les/ja;->c(Les/ja;Lcom/esfile/screen/recorder/media/util/l;)Z

    goto :goto_0

    .line 10
    :cond_4
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz p1, :cond_5

    iget-object v0, p0, Les/ja$e;->a:Les/ja;

    check-cast p1, Lcom/esfile/screen/recorder/media/util/l;

    invoke-static {v0, p1}, Les/ja;->c(Les/ja;Lcom/esfile/screen/recorder/media/util/l;)Z

    move-result p1

    if-nez p1, :cond_5

    goto :goto_0

    .line 11
    :cond_5
    iget-object p1, p0, Les/ja$e;->a:Les/ja;

    invoke-static {p1}, Les/ja;->i(Les/ja;)Les/q7;

    move-result-object p1

    invoke-virtual {p1}, Les/q7;->C()Z

    goto :goto_0

    .line 12
    :cond_6
    iget-object p1, p0, Les/ja$e;->a:Les/ja;

    invoke-static {p1}, Les/ja;->a(Les/ja;)Z

    move-result p1

    if-eqz p1, :cond_7

    .line 13
    iget-object p1, p0, Les/ja$e;->a:Les/ja;

    invoke-static {p1, v1}, Les/ja;->a(Les/ja;Z)Z

    .line 14
    :cond_7
    iget-object p1, p0, Les/ja$e;->a:Les/ja;

    monitor-enter p1

    .line 15
    :try_start_1
    iget-object v0, p0, Les/ja$e;->a:Les/ja;

    invoke-static {v0, v2}, Les/ja;->b(Les/ja;Z)Z

    .line 16
    iget-object v0, p0, Les/ja$e;->a:Les/ja;

    invoke-virtual {v0}, Ljava/lang/Object;->notifyAll()V

    .line 17
    monitor-exit p1

    :goto_0
    return-void

    :catchall_1
    move-exception v0

    monitor-exit p1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    throw v0
.end method
